﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>
        console.log(Boolean('三英战吕布'));    // true
        console.log(Boolean(''));             // false
        console.log(Boolean(123));            // true
        console.log(Boolean(0));              // false
        console.log(Boolean(null));           // false
        console.log(Boolean(undefined));      // false
    </script>
</body>
</html>